package com.xhsj.user.pms.patent.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xhsj.user.sms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 评审会评审记录
 * </p>
 *
 * @author suxiaolin
 * @since 2020-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_pam_judges_review_record")
public class TbPamJudgesReviewRecord extends BaseEntity<TbPamJudgesReviewRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 关联所属交底书主键ID
     */
    @TableField("disclosure_id")
    private String disclosureId;

    /**
     * 审批意见
     */
    @TableField("opinion_text")
    private String opinionText;

    /**
     * 评审用户
     */
    @TableField("judges_user_id")
    private String judgesUserId;

    /**
     * 被评审用户
     */
    @TableField("be_judges_user_id")
    private String beJudgesUserId;

    /**
     * 类型 0 初审反馈 1 终审反馈
     */
    @TableField("type")
    private int type;

    /**
     *回复内容
     */
    @TableField("reply_opinion_text")
    private String replyOpinionText;

    /**
     *回复人
     */
    @TableField("replied_by")
    private String repliedBy;

    /**
     *回复时间
     */
    @TableField("reply_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date replyTime;

    @TableField(exist = false)
    private List<TbPamJudgesReviewRecordFile> tbPamJudgesReviewRecordFileList;


}
